package com.ksd.modules.course.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ksd.commons.AbstractBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("xk_course_comment")
@SuperBuilder(toBuilder = true)
@ApiModel(value = "AdminCourseComment", description = "课程评论")
public class AdminCourseComment extends AbstractBaseEntity {
    @ApiModelProperty("评论用户ID")
    private Long userId;
    @ApiModelProperty("评论用户")
    private String username;
    @ApiModelProperty("评论用户头像")
    private String avatar;
    @ApiModelProperty("评论内容")
    private String content;
    @ApiModelProperty("评论的下载ID")
    private Long opid;
    @ApiModelProperty("下载标题")
    private String title;
    @ApiModelProperty("回复数量")
    private Long replyNum;
    @ApiModelProperty("评论用户唯一标识")
    private String uuid;
    @ApiModelProperty("审核状态 0未通过 1通过")
    private Integer status;
}
